**SI 8
**Data: main.dta
**Additional variables: none

**SI Table 8.1
use "main.dta"

**Median point of economic variable = -0.6
su prof if balance01==1&unemployment<-0.6
su prof if balance01==1&unemployment>-0.6
su prof if balance01==0&unemployment<-0.6
su prof if balance01==0&unemployment>-0.6

**Footnote 2 of SI 8
su prof if balance01==1&unemployment<0
su prof if balance01==1&unemployment>0
su prof if balance01==0&unemployment<0
su prof if balance01==0&unemployment>0

**Figure 8.1, made in R
use "main.dta"

**Values calculated in Stata as follows
**requires installation of package ci2
ci2 unemployment prof if balance01==1, level(95) corr
ci2 unemployment prof if balance01==1, level(90) corr
ci2 unemployment prof if balance01==0, level(95) corr
ci2 unemployment prof if balance01==0, level(95) corr
**Full Figure created in R

**Footnote 3
use "main.dta"
ksmirnov prof if unemployment<-1, by(balance01)
ksmirnov prof if unemployment>1, by(balance01)
ksmirnov unemployment if prof<0.067, by(balance01)
ksmirnov unemployment if prof>0.332, by(balance01)
